//
//  CPYRankListRefsModel.m
//  TTMusic
//
//  Created by chenpengyu on 16/4/3.
//  Copyright © 2016年 cpy. All rights reserved.
//

#import "CPYRankListRefsModel.h"

@implementation CPYRankListRefsModel

- (instancetype)initWithDataSource:(NSDictionary *) dataSource
{
    self = [super initWithDataSource:dataSource];
    if (self) {
        self.mutableArray = [NSMutableArray arrayWithCapacity:0];
        for (NSDictionary *dic in self.songs) {
            CPYRankListSongModel *rankSongsModel = [[CPYRankListSongModel alloc] initWithDataSource:dic];
            [self.mutableArray addObject:rankSongsModel];
        }
        self.songs = [NSMutableArray arrayWithArray:_mutableArray];
        
    }
    return self;
}

@end
